package group_01.MultiSnakeServerKryoNet;

import com.esotericsoftware.kryonet.Connection;
import com.esotericsoftware.kryonet.Server;

public class GameServer {
	Server server;
	
	public GameServer(){
		server = new Server(){
			protected Connection newConnection(){
				return new PlayerConnection();
			}
		};
		
		Network.register(server);
		
		
		
	}
	
	
	static class PlayerConnection extends Connection {
		public String name;
	}
}
